home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Recent / comm / misc / Spitfire2.lha / Spitfireイ Install / developer / spitfireAPIconduit.e < prev    next >
Text File  |  2000-06-21  |  964b  |  34 lines

  1. /* SpitfireAPI base MODULE */
  2.  
  3. OPT MODULE
  4. OPT EXPORT
  5. OPT PREPROCESS
  6.  
  7. MODULE 'exec/lists', 'exec/nodes'
  8.  
  9. OBJECT userinfo
  10.     username[128]:ARRAY OF CHAR   /* name on handheld */
  11.     userid       :LONG            /* from 256-65565; 1-256 for profiles */
  12.     password[128]:ARRAY OF CHAR   /* user password */
  13.     path[256]    :ARRAY OF CHAR   /* directory name of user files */
  14. ENDOBJECT
  15.  
  16. /* standard sync actions */
  17. CONST SPIT_ACTION_NOTHING          = 0  /* do nothing a hotsync */
  18. CONST SPIT_ACTION_SYNCFILES        = 1  /* synhronize database at hotsync */
  19. CONST SPIT_ACTION_AMIGAOVERWRITES  = 2  /* overwrite remote with local database */
  20. CONST SPIT_ACTION_REMOTEOVERWRITES = 3  /* overwrite local with remote database */
  21.  
  22. /* Server broadcast messages for clients */
  23. ENUM SPIT_NONE,
  24.      SPIT_QUIT,
  25.      SPIT_SAVEDB,
  26.      SPIT_LOADDB,
  27.      SPIT_NEWUSERS,
  28.      SPIT_HIDEINTERFACE,
  29.      SPIT_SHOWINTERFACE
  30.  
  31. ENUM HSM_NONE,
  32.      HSM_ADD2LOG,
  33.      HSM_DISPLAYSYNCMSG
  34.